import django_filters
from .models import *


class FormRecordFilter(django_filters.rest_framework.FilterSet):
    """过滤器"""

    formKey = django_filters.CharFilter(field_name='form__key')
    class Meta:
        model = FormRecord
        fields = '__all__'
